package top.api.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 七牛云配置
 */
@ConfigurationProperties(prefix = "oss")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OssProperties {
    private String accessKey;
    private String secretKey;
    private String bucket;
    // 域名前缀
    private String urlPrefix;
}
